window.onload = function () {
  let _switch = document.querySelector('.switch')
  let knob = document.querySelector('.knob')

  _switch.addEventListener('click',function () {
    this.classList.toggle('switch_on')
    knob.classList.toggle('knob_on')
  })










}